import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 06-20-14:49
 */
public class test {
    public static void main(String[] args) {
        String uuid = UUID.randomUUID().toString();
        String[] splits = uuid.split("-");
        String result = "";
        for (String split : splits) {
            result += split;
        }
        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
        String date = sdf.format(new Date());
        String orderNo = result + "_" + date;
        System.out.println(orderNo);
    }
}
